package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CategorySellAmts;

import java.util.List;

/**
 * @version 1.0
 * @auther Administrator
 * @date 2023/2/22 16:29
 */
public interface DtsCategoryService {
    List<CategorySellAmts> findGoodsCategoryAndTotal();

    IPage<DtsCategory> findListByQuery(Integer id, String name, String sort, String order, Integer page, Integer limit);

    DtsCategory create(DtsCategory dtsCategory);

    DtsCategory update(DtsCategory dtsCategory);

    DtsCategory delete(DtsCategory dtsCategory);

    List<DtsCategory> findCategoryByPid(Integer pid);


}
